package com.jml.security.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

//这个注释就会回读取配置文件中所有以jml.security开头的配置项
@ConfigurationProperties(prefix = "jml.security")
public class SecurityProperties {
	
	private BrowserProperties browser = new BrowserProperties();

	private ValidateCodeProperties code=new ValidateCodeProperties();

	private SocialProperties social = new SocialProperties();

	public BrowserProperties getBrowser() {
		return browser;
	}

	public void setBrowser(BrowserProperties browser) {
		this.browser = browser;
	}

	public ValidateCodeProperties getCode() {
		return code;
	}

	public void setCode(ValidateCodeProperties code) {
		this.code = code;
	}

	public SocialProperties getSocial() {
		return social;
	}

	public void setSocial(SocialProperties socialProperties) {
		this.social = socialProperties;
	}
}

